package com.dmz.wxcp.wecom.wxbusiness.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dmz.wxcp.wecom.wxbusiness.entity.ArticleTags;
import com.dmz.wxcp.wecom.wxbusiness.entity.Transport;
import com.dmz.wxcp.wecom.wxbusiness.mapper.ArticleTagsMapper;
import com.dmz.wxcp.wecom.wxbusiness.mapper.TransportMapper;
import com.dmz.wxcp.wecom.wxbusiness.service.TransportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TransportServiceImpl extends ServiceImpl<TransportMapper, Transport>
implements TransportService {

    @Autowired
    private ArticleTagsMapper mapper;

//    获取最热的物流标签信息
    @Override
    public List<ArticleTags> getTransportHotTags() {

        return mapper.getHotArticleTag(9);
    }
}
